package com.azarias.monitor;

import lombok.extern.slf4j.Slf4j;

/**
 * @description: 微服务后台处理线程，用来监控已失效的服务
 * @author: Azarias_Jx
 * @date: 2022/1/2 15:40
 */
@Slf4j
public class ServiceAliveMonitor {
    private Daemon daemon;

    public ServiceAliveMonitor() {
        this.daemon = new Daemon();
        daemon.setDaemon(true);
    }

    public void start(){
        daemon.start();
    }
}
